Einhugur OpenDocument Text Plugin for Xojo

Paragraph.AppendImage Method

Appends image to the paragraph using internal path of previously attached image.

AppendImage(
   internalPath as String,
   width as Double,
   height as Double,
   unit as EinhugurODT.LengthUnit) as EinhugurODT.DrawFrame

Parameters

internalPath
Internal path of the image. (You get internal path of existing image with the InternalPath property on the DrawFrame class)
width
Width of the DrawFrame that will be created to display the image.
height
Height of the DrawFrame that will be created to display the image.
unit
Unit for the width and height.

Returns

EinhugurODT.DrawFrame
Newly created draw frame.

Remarks

You would use this variant if you wish to use same picture again in same document to prevent the document from having 2 or more copies of same image in it.

See Also

Paragraph Class